package common.controller;

import org.apache.shiro.SecurityUtils;
import org.apache.shiro.subject.Subject;

import jhunter.web.mvc.controller.BaseController;

public class LogoutController extends BaseController {

	@Override
	public Object execute() {
		Subject currentUser = SecurityUtils.getSubject();
		currentUser.logout();
		return rAction("login", "login");
		
	}

}
